import request from '@/utils/request'
export function test(){
  return request({
    url: '/ipay/test',
    method: 'get',
  })
}


export function genOrder(data) {
  return request({
    url: '/ipay/gen',
    method: 'post',
    data:{
      name:data.name,
      phone:data.phone,
      money:data.money + data.otherMoney,
      word:data.word,
      disasterName:"test",
      isHidden:data.isHidden
    }
  })
}
